package com.zhuang.springbootredis.bloomfilter;

public class MyBloomMain {
    public static void main(String[] args) {
        String value1 = "test-111";
        String value2 = "awdsf";
        MyBloomFilter filter = new MyBloomFilter();
        System.out.println(filter.contains(value1));
        System.out.println(filter.contains(value2));
        filter.add(value1);
        filter.add(value2);
        System.out.println(filter.contains(value1));
        System.out.println(filter.contains(value2));
    }
}
